<template>
	<view>

	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: 'Hello',
			}
		},
		onLoad() {
			this.getLocalJson()
		},
		methods: {
			getLocalJson(){
				uni.request({
					url:'http://localhost:8080/api/test',
					success({data:res}) {
						console.log("ok")
						console.log(res)
					},
					fail() {
						console.log("fail")
					}
				})
			}
		}
	}
</script>

<style>
</style>
